/*
 * 
 * 
 * 
 */
package com.hboxs.asl.entity;

import javax.persistence.*;

/**
 * Entity - 文章
 */
@Entity
@Table(name = "xx_ios_config")
@SequenceGenerator(name = "sequenceGenerator", sequenceName = "xx_ios_config_sequence")
public class IOSConfig extends OrderEntity {

    private static final long serialVersionUID = -6109590619123943215L;

    private String pid;

    private int price;

    private GlobalConfig globalConfig;

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    @ManyToOne(fetch = FetchType.LAZY)
    public GlobalConfig getGlobalConfig() {
        return globalConfig;
    }

    public void setGlobalConfig(GlobalConfig globalConfig) {
        this.globalConfig = globalConfig;
    }
}